import { WORK_ORDER_STATUS } from '/@/common/constant';
import { reactive } from 'vue';
const state = reactive<{
  /**
   * 当前页
   */
  activePage: number;
  /**
   * 加载状态
   */
  loading: boolean;
  /**
   * 加载完成状态
   */
  finished: boolean;
  /**
   * 发起人ID
   */
  releaseUserId?: string;
  /**
   * 列表
   */
  list: AppSysWorkOrder.Dto[];
  /**
   * 筛选气泡弹出框是否显示
   */
  filterPopoverVisible: boolean;
  /**
   * APP模糊查询
   */
  keyword: string;
  /**
   * 当前工单状态
   */
  activeStatus: string;
}>({
  activePage: 1,
  loading: false,
  finished: false,
  releaseUserId: '',
  list: [],
  filterPopoverVisible: false,
  keyword: '',
  activeStatus:
    'task_assign,task_receive,task_process,task_review,task_complete,task_suspend_review,task_suspend',
});
export { state };
